package basic.com.liz.learn.design.command;

public class CommandTest
{
    
    public static void main(String[] args)
    {
        Receiver receiver = new Receiver();
        Command command = new MyCommand(receiver);
        Invoker invoker = new Invoker(command);
        invoker.sendCommand();
    }
    
}
